Skip to content

Conversation

AviAvni
Copy link
Contributor

@AviAvni AviAvni commented Sep 12, 2021

No description provided.

Copy link
Contributor

@swilly22 swilly22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one simple change

Comment on lines 57 to 58
if len(self.tasks) >= 5:
self.wait_pool()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will cause the tasks queue to drop directly from 5 to 0, what we want is to go down from 5 to 4

@swilly22 swilly22 merged commit f42578c into master Sep 14, 2021
@swilly22 swilly22 deleted the async-batches branch September 14, 2021 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants